package com.multisource.myself.controller;

import com.multisource.myself.mapper.BPSDashboardMapper;
import com.multisource.myself.service.BPSDashboardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author Zzy
 * @date 2021/3/15 17:06
 */
@RestController
@RequestMapping("/BPS")
public class BPSDashboardController {
    @Autowired
    private BPSDashboardService bpsService;

    @GetMapping("terminal-type-quality-statistics")
    public List<Map> terminalTypeQualityStatistics() {
        List<Map> maps = bpsService.terminalTypeQualityStatistics();
        return maps;
    }

}


